import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2023 —09 —24
 * Time: 9:55
 */
public class test_9_24 {
    /*
    public static void main(String[] args) {

        int i = 1;
        int sum = 0;
        while(i<=5)
        {
            int n = 1;
            int ret = 1;
            while (n <= i)
            {
                ret *= n;
                n++;
            }
            sum += ret;
            i++;
        }
        System.out.println(sum);


    }
    */


    /*
    public static void main(String[] args) {
        int i = 1;
        while(i<=100){
          i++;
          if( i%3 == 0 && i%5 == 0) {
            System.out.println(i);
            continue;
          }
            //i++;     //这里放上i++的话会报错，到15后continue直接跳出if以及下面的i++
                       //while(i=15进入if判断条件了),nice!!!!

        }

    }
    */


    /*
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        System.out.println("输入你的年龄：");
        int age = scanner.nextInt();
        System.out.println(age);

        //scanner.nextLine();   //没有这一行代码的话，输入完年龄，按下回车键之后
                                //回车键会被当做是姓名给输出去，就这样。

        System.out.println("请输入你的姓名：");
        //String name = scanner.next();//遇到空格就结束了
        String name2 = scanner.nextLine();   //读数据的
        System.out.println(name2);



        System.out.println("请输入你的工资：");
        float f = scanner.nextFloat();
        System.out.println(f);
    }
    */


    /*
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        while (scanner.hasNextInt()) {
             int a = scanner.nextInt();
            System.out.println(a);
        }

        *//*
        while (scanner.hasNextLine()) {
            String b = scanner.nextLine();
            System.out.println(b);
        }
        *//*
    }
    */
}
